package db;

import java.util.Date;
import java.util.List;

/**
 * User: SLeeP
 * Date: 28.02.12
 * Time: 19:29
 */
public class User {
    public String firstName;
    public String lastName;
    public String otherName;
    public String sex;
    public String birthDate;
    public String birthPlace;
    public String passportNumber;
    public String passportPlace;
    public String passportDate;
    public String country;
    public String city;
    public String address;
    public String postIndex;

    public User(String firstName, String lastName, String otherName, String sex, String birthDate, String birthPlace, String passportNumber, String passportPlace, String passportDate, String country, String city, String address, String postIndex) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.otherName = otherName;
        this.sex = sex;
        this.birthDate = birthDate;
        this.birthPlace = birthPlace;
        this.passportNumber = passportNumber;
        this.passportPlace = passportPlace;
        this.passportDate = passportDate;
        this.country = country;
        this.city = city;
        this.address = address;
        this.postIndex = postIndex;
    }

    public void print() {
        System.out.println(firstName + " " + lastName + " " + otherName + " " + sex);
        System.out.println(birthDate + " " + birthPlace);
        System.out.println(passportNumber + " " + passportPlace + " " + passportDate);
        System.out.println(country + " " + city + " " + address + " " + postIndex);
    }

}
